public class Book {
    String name="iajdoihof";
    int price=10;

    @Override
    public String toString() {
        return "Book{" +
                "name='" + name + '\'' +
                ", price=" + price +
                '}';
    }

    public static void main(String[] args) {
        Book b=new Book();
        System.out.println(b);
    }

}
